<template>
	<view>
		<view class="module-box">
			<view class="acea-row row-column-between row-center module-cont">
				<view class="title">
					温馨提示
				</view>
				<view class="text">
					您未申请成为服务商，无法发布服务内容
				</view>
				<view class="button">立即申请</view>
			</view>
			<view class="module-close" @click.stop="close">
				<image src="../../static/images/close_white.png" mode=""></image>
			</view>
		</view>
		<view class="mask" @click="close">
			
		</view>
	</view>
</template>

<script>
	export default {
		name:"notServiceProvider",
		data() {
			return {
				
			};
		},
		methods:{
			toApply(){
				uni.navigateTo({
					url:'/pages/others/applyServiceProvider/applyServiceProvider'
				})
			},
			close() {
				this.$emit('close')
			}
		}
	}
</script>

<style lang="scss">
	.module-box{
		width: 570rpx;
		height: 642rpx;
		position: fixed;
		top: 50%;
		margin-top: -221rpx;
		left: 50%;
		margin-left: -280rpx;
		z-index: 99;
		.module-cont{
			width: 100%;
			height: 442rpx;
			border-radius: 24rpx;
			background: #ffffff;
			.title{
				padding: 30rpx;
				text-align: center;
				font-size: 40rpx;
				font-weight: 500;
				color: rgba(255, 255, 255, 1);
				border-radius: 24rpx 24rpx 0px 0px;
				background: rgba(238, 33, 45, 1);
			}
			.text{
				padding: 30rpx 40rpx;
				font-size: 32rpx;
				font-weight: 400;
				line-height: 42rpx;
				color: rgba(56, 56, 56, 1);
				text-align: center;
			}
			.button{
				width: 414rpx;
				height: 96rpx;
				margin: 0rpx auto 52rpx;
				text-align: center;
				line-height: 96rpx;
				border-radius: 50px;
				background: rgba(238, 33, 45, 1);
				font-size: 36rpx;
				font-weight: 400;
				color: rgba(255, 255, 255, 1);
			}
		}
		.module-close{
			width: 68rpx;
			height: 68rpx;
			margin: 32rpx auto 0;
			image{
				width: 100%;
				height: 100%;
			}
		}
	}
.mask{
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0rpx;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 98;
	transition: all 0.3s ease-in-out;
	// opacity: 0;
	// visibility: hidden;
}
</style>